package com.airnewslinkosky.ticket.model;

import java.util.Hashtable;

import org.ksoap2.serialization.KvmSerializable;
import org.ksoap2.serialization.PropertyInfo;

public class ItineraryInfoResult   implements KvmSerializable{
	public String Ret_Code	        ;//返回代码
	public String Ret_Msg	        ;//返回信息
	public String ItineraryNo	;//行程单号
	public String ItineraryOrderNO	;//行程单订单号
	
	public Object getProperty(int arg0) {
		switch (arg0) {
			case 0:
				return Ret_Code;
			case 1:
				return Ret_Msg;
			case 2:
				return ItineraryOrderNO;
			case 3:
				return ItineraryNo;
		}
		return null;
	}

	public int getPropertyCount() {
		return 4;
	}

	public void getPropertyInfo(int arg0, Hashtable arg1, PropertyInfo arg2) {
		switch (arg0) {
			case 0:
				arg2.type = PropertyInfo.STRING_CLASS;
				arg2.name = "Ret_Code";
				break;
			case 1:
				arg2.type = PropertyInfo.STRING_CLASS;
				arg2.name = "Ret_Msg";
				break;
			case 2:
				arg2.type = PropertyInfo.STRING_CLASS;
				arg2.name = "ItineraryOrderNO";
				break;
			case 3:
				arg2.type = PropertyInfo.STRING_CLASS;
				arg2.name = "ItineraryNo";
				break;
		}
		
	}

	public void setProperty(int arg0, Object arg1) {
		switch (arg0) {
			case 0:
				Ret_Code = arg1.toString();
				break;
			case 1:
				Ret_Msg = arg1.toString();
				break;
			case 2:
				ItineraryOrderNO = arg1.toString();
				break;
			case 3:
				ItineraryNo = arg1.toString();
				break;
		}
	}

}
